<div class="vista_toolbar">
  <ul>
    <%= toolbar_edit 'asiakasta', 'customers', customer, nil, 'customer' %>
  </ul>
</div>
<div class="scrollable" style="height:11em">
  <div class="container" id="customer_container">
    <%=content_tag :div, customer.name, :class => 'name' %><%=content_tag :div, customer.domain, :class => 'domain' %>
    <br/>
    <%=content_tag :div, 'Puhelin:', :class => 'item_title' %><%=h customer.phone %>
    <br/>
    <%=content_tag :div, 'Faksi:', :class => 'item_title' %><%=h customer.fax %>
    <br/>
    <%=content_tag :div, 'Kotisivu:', :class => 'item_title' %><%=link_to customer.homepage, "http://#{customer.homepage}", :popup => 'true' %>
    <br/>
    <%=content_tag :div, 'Merkinnät:', :class => 'item_title' %>
    <br/>
    <%unless customer.tags.empty?%>
      <ul>
        <%customer.tags.each do |tag| %>
          <li><%=h(tag.name)%></li>
        <%end%>  
      </ul>
    <%end%>
    <div style="clear:both">
    </div>
  </div>
</div>
